<?php
abstract class AbstractMedia {
    protected $mediator;
    public function __construct(MediatorInterface $mediator)
    {
        $this->mediator = $mediator;
    }
    public function getMediator()
    {
        return $this->mediator;
    }
}